efa fabric device add

Adds a device to an existing fabric.

Syntax

efa fabric device add [ --name fabric-name | --ip device-ip | --role { leaf | spine | super-spine | border-leaf } | --leaf-type { single-homed | multi-homed }| --hostname hostname | --asn local-asn |--vtep-loopback id |--loopback port-num | --pod name | --username username | --password password | --rack name ]

Parameters

--asn local-asn
Specifies the local ASN.
--hostname hostname
Specifies the host name.
--ip device-ip
Specifies the pair of device IP addresses for rack, or a single IP address for non-rack.
--leaf-type { single-homed | multi-homed }
Specifies whether the leaf is single-homed or multi-homed.
--loopback port-num
Specifies the loopback port number.
--name fabric-name
Specifies the name of the fabric.
--password password
Specifies the password for the device.
--pod name
Specifies the name of the pod.
--rack name
Specifies the name of the rack.
--role { leaf | spine | super-spine | border-leaf }
Specifies the device role.
--username username
Specifies the user name for the device.
--vtep-loopback id
Specifies the VTEP loopback ID.

Usage Guidelines

A device must be registered with Inventory Service before being added to a fabric. The Fabric Service supports IP numbered configuration. Each interface on a link between leaf and spine is assigned an IP address. EBGP peering uses these IP addresses.

Device credentials must be provided as part of this command if the devices are not already registered with the inventory.

If you provide the user name and password, then the device is automatically registered with the inventory service.

If you do not provide the user name and password, then you must explicitly register the device with the inventory service.

Examples

This example adds a pair of devices to the specified fabric and the specified rack.
efa fabric device add --name extr-fabric --ip 10.24.80.134,10.24.80.135  
--rack room1-rack1 --username admin --password password